<script setup>
	import {
		onLaunch,
		onShow,
		onHide
	} from "@dcloudio/uni-app"
	import {
		useUserStore
	} from "@/stores/user.js"

	const userStore = useUserStore()

	onLaunch(() => {
		userStore.refreshToken()
		console.log('App Launch')
	})

	onShow(() => {
		console.log('App Show')
	})

	onHide(() => {
		console.log('App Hide')
	})
</script>

<style>
	@import "@/static/iconfont.css";
	/*每个页面公共css */

	view {
		box-sizing: border-box;
	}

	page {
		background: "#F2F6FD";
	}

	.content {
		background: "#F2F6FD";
	}
</style>